package model;

import java.sql.Date;

public class SMS {
	int smsid;
	int uid;
	String contents;
	Date date;

	public SMS(int smsid, int uid, String contents, Date date) {
		super();
		this.smsid = smsid;
		this.uid = uid;
		this.contents = contents;
		this.date = date;
	}

	public int getSmsid() {
		return smsid;
	}

	public void setSmsid(int smsid) {
		this.smsid = smsid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "SMS [smsid=" + smsid + ", uid=" + uid + ", contents="
				+ contents + ", date=" + date + "]";
	}

}
